﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Bit.Art.Core.Models
{
    /// <summary>
    /// 交易对
    /// </summary>
    public class Market
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 交易对名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnabled { get; set; }

        /// <summary>
        /// 在内存中保存的最大深度
        /// </summary>
        public int DepthInMemory { get; set; } = 500;

        /// <summary>
        /// 在内存中最多保存的订单容量
        /// </summary>
        public int OrderCapacityInMemory { get; set; } = 500 * 1000;
    }
}
